{php include wl_template('common/header');}
{if empty($_GPC['lct'])}
<ul class="nav nav-tabs" id="myTab">
	<li class="active"><a href="#tab_basic">基本设置</a></li>
</ul>
{/if}
<div class="app-content">
	<div class="app-form">
		<form action="" method="post" class="form-horizontal form" id="setting-form">
			<div class="panel panel-default">
				<div class="panel-heading">基本设置</div>
				<div class="panel-body">
					<div class="form-group">
						<label class="col-sm-2 control-label">系统名称</label>
						<div class="col-sm-9">
							<input type="text" name="name" class="form-control" value="{$settings['name']}" />
							<span class="help-block">默认：{if Customized::init('distributionText') > 0}门店共享系统{else}智慧城市O2O{/if}</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">LOGO</label>
						<div class="col-sm-9">
							{php echo attachment_select('logo', $settings['logo']);}
							<span class="help-block">建议大小190X50</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">系统版权</label>
						<div class="col-sm-9">
							<input type="text" name="copyright" class="form-control" value="{$settings['copyright']}" />
							<span class="help-block">默认调用公众号名称</span>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"></label>
				<div class="col-sm-9">
					<input type="submit" name="submit" value="提交" class="btn btn-primary min-width" />
					<input type="hidden" name="token" value="{$_W['token']}" />
				</div>
			</div>
		</form>
	</div>
</div>
{php include wl_template('common/footer');}